package com.my.myTradeData.DataSource;

import java.util.HashMap;
import java.util.Map;

public class Dictionary {
	public static Map<String, String> SinaDataDictionary = new HashMap<String, String>();
	static {
		SinaDataDictionary.put("TA0", "PTA连续");
		SinaDataDictionary.put("OI0", "菜油连续");
//		SinaDataDictionary.put("RS0", "菜籽连续");
		SinaDataDictionary.put("RM0", "菜粕连续");
		SinaDataDictionary.put("ZC0", "动力煤连续");
		SinaDataDictionary.put("WH0", "强麦连续");
//		SinaDataDictionary.put("JR0", "粳稻连续");
		SinaDataDictionary.put("SR0", "白糖连续");
		SinaDataDictionary.put("CF0", "棉花连续");
//		SinaDataDictionary.put("RI0", "早籼稻连续");
		SinaDataDictionary.put("MA0", "郑醇连续");
		SinaDataDictionary.put("FG0", "玻璃连续");
//		SinaDataDictionary.put("LR0", "晚籼稻连续");
		SinaDataDictionary.put("SF0", "硅铁连续");
		SinaDataDictionary.put("SM0", "锰硅连续");
		SinaDataDictionary.put("V0", "PVC连续");
		SinaDataDictionary.put("P0", "棕榈连续");
//		SinaDataDictionary.put("B0", "豆二连续");
		SinaDataDictionary.put("M0", "豆粕连续");
		SinaDataDictionary.put("I0", "铁矿石连续");
		SinaDataDictionary.put("JD0", "鸡蛋连续");
		SinaDataDictionary.put("L0", "塑料连续");
		SinaDataDictionary.put("PP0", "PP连续");
//		SinaDataDictionary.put("FB0", "纤维板连续");
//		SinaDataDictionary.put("BB0", "胶合板连续");
		SinaDataDictionary.put("Y0", "豆油连续");
		SinaDataDictionary.put("C0", "玉米连续");
		SinaDataDictionary.put("A0", "豆一连续");
		SinaDataDictionary.put("J0", "焦炭连续");
		SinaDataDictionary.put("JM0", "焦煤连续");
		SinaDataDictionary.put("CS0", "玉米淀粉连续");
//		SinaDataDictionary.put("FU0", "燃油连续");
		SinaDataDictionary.put("AL0", "沪铝连续");
		SinaDataDictionary.put("RU0", "橡胶连续");
		SinaDataDictionary.put("ZN0", "沪锌连续");
		SinaDataDictionary.put("CU0", "沪铜连续");
		SinaDataDictionary.put("AU0", "黄金连续");
		SinaDataDictionary.put("RB0", "螺纹钢连续");
//		SinaDataDictionary.put("WR0", "线材连续");
		SinaDataDictionary.put("PB0", "沪铅连续");
		SinaDataDictionary.put("AG0", "白银连续");
		SinaDataDictionary.put("BU0", "沥青连续");
//		SinaDataDictionary.put("HC0", "热轧卷板连续");
		SinaDataDictionary.put("SN0", "沪锡连续");
		SinaDataDictionary.put("NI0", "沪镍连续");
		SinaDataDictionary.put("AP0", "苹果连续");
		
	}
	
	
	public static Map<String, Integer> ATRTimesDictionary = new HashMap<String, Integer>();
	
	public static Map<String, Double> MinStepDictionary = new HashMap<String, Double>();
	static {
		ATRTimesDictionary.put("TA", 1);
		ATRTimesDictionary.put("OI", 1);
		ATRTimesDictionary.put("RM", 1);
		ATRTimesDictionary.put("ZC", 1);
		ATRTimesDictionary.put("WH",1);
		ATRTimesDictionary.put("SR", 1);
		ATRTimesDictionary.put("CF", 1);
		ATRTimesDictionary.put("MA", 1);
		ATRTimesDictionary.put("FG", 1);
		ATRTimesDictionary.put("v", 5);
		ATRTimesDictionary.put("p", 10);
		ATRTimesDictionary.put("m", 10);
		ATRTimesDictionary.put("i", 100);
		ATRTimesDictionary.put("l", 5);
		ATRTimesDictionary.put("ag", 15);
		ATRTimesDictionary.put("bu", 10);
		ATRTimesDictionary.put("cu", 5);
		ATRTimesDictionary.put("al", 5);
		ATRTimesDictionary.put("zn", 5);
		ATRTimesDictionary.put("rb", 10);
		ATRTimesDictionary.put("j", 100);
		ATRTimesDictionary.put("jm", 60);
		ATRTimesDictionary.put("y", 10);
		ATRTimesDictionary.put("c", 10);
		ATRTimesDictionary.put("au", 1000);
		ATRTimesDictionary.put("pb", 5);
		ATRTimesDictionary.put("jd", 5);
		ATRTimesDictionary.put("pp", 5);
		ATRTimesDictionary.put("a", 10);
		ATRTimesDictionary.put("cs", 10);
		ATRTimesDictionary.put("ru", 10);
		ATRTimesDictionary.put("sn", 1);
		ATRTimesDictionary.put("ni", 1);
	}
	
	static {
		MinStepDictionary.put("TA", 2.0);
		MinStepDictionary.put("OI", 1.0);
		MinStepDictionary.put("RM", 1.0);
		MinStepDictionary.put("ZC", 0.2);
		MinStepDictionary.put("WH",20.0);
		MinStepDictionary.put("SR", 20.0);
		MinStepDictionary.put("CF", 5.0);
		MinStepDictionary.put("SM", 2.0);
		MinStepDictionary.put("SF", 2.0);
		MinStepDictionary.put("MA", 50.0);
		MinStepDictionary.put("FG", 20.0);
		MinStepDictionary.put("v", 5.0);
		MinStepDictionary.put("p", 2.0);
		MinStepDictionary.put("m", 1.0);
		MinStepDictionary.put("i", 0.5);
		MinStepDictionary.put("l", 5.0);
		MinStepDictionary.put("ag", 1.0);
		MinStepDictionary.put("bu", 2.0);
		MinStepDictionary.put("cu", 10.0);
		MinStepDictionary.put("al", 5.0);
		MinStepDictionary.put("zn", 5.0);
		MinStepDictionary.put("rb", 1.0);
		MinStepDictionary.put("j", 0.5);
		MinStepDictionary.put("jm", 0.5);
		MinStepDictionary.put("y", 2.0);
		MinStepDictionary.put("c", 10.0);
		MinStepDictionary.put("au", 1000.0);
		MinStepDictionary.put("pb", 5.0);
		MinStepDictionary.put("jd", 5.0);
		MinStepDictionary.put("pp", 5.0);
		MinStepDictionary.put("a", 1.0);
		MinStepDictionary.put("b", 1.0);
		MinStepDictionary.put("cs", 1.0);
		MinStepDictionary.put("ru", 5.0);
		MinStepDictionary.put("sn", 10.0);
		MinStepDictionary.put("ni", 10.0);
	}
}
